/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package hit.core;

import org.junit.Test;
import static org.junit.Assert.*;

public class StorageUnitTest {

    public StorageUnitTest() {
    }

	@Test
	public void testIsValid() {
		
		StorageUnit testUnit1 = new StorageUnit("Storage Unit 1");
		assertTrue("Storage Unit 1 isValid failed", testUnit1.IsValid());
		
		StorageUnit testUnit2 = new StorageUnit("");
		assertFalse("Storage Unit 2 is valid, when it shouldn't be", testUnit2.IsValid());
	}

}